const ENV = "prod";

const ROOT_CONFIG = {
  dev: {
    name: "本地环境",
    url: "/aiet-api",  // vue.config.js中添加了代理
    socketUrl: "wss://test.hrkj.fit:29007/ws",
    aiUrl: "",
  },
  test: {
    name: "测试环境",
    url: "/aiet-api",
    socketUrl: "wss://www.aiet.top:29007/ws",
    aiUrl: "",
  },
  prod: {
    name: "线上环境",
    url: "/aiet-api",  //nginx中配置代理
    socketUrl: "wss://test.hrkj.fit:29007/ws",
    aiUrl: "",
  },
};

const URL = ROOT_CONFIG[ENV];

export default URL;
